//---------------------------------------------------------------------------
// MyMan Class
// Author : Alex Woo-Hyun Kim at www.webrobot.org
// Email : woorung@webrobot.org,webrobot@hotmail.com,woorung@empal.com
// Date : Apr. 18, 2002
//
// This class executes real SQL query after connecting to MySQL.
//---------------------------------------------------------------------------
#ifndef CMyManH
#define CMyManH
//---------------------------------------------------------------------------
#include <mysql.h>
#include "CMyConMan.h"
#include "CMyResultSet.h"
#include "CMyStatement.h"
//--------------------------------------------------------------------------
class CMyMan : public CMyConMan {
private :
	MYSQL *m_pMyCon;
	MYSQL_RES *m_pMyResultSet;
	long m_lMyID;
public :
	CMyMan(char *pszConfigFileName);
	~CMyMan();
	CMyResultSet *GetMyResultSet(char *pSqlStmt);
	CMyResultSet *GetMyResultSet(CMyStatement *MyStatement);
	long GetInsertID();
};
//---------------------------------------------------------------------------
#endif
